import instance from '@/request/request'

/**
 * 添加评价
 * @param data
 * @returns {*}
 */
export const addScore=(data)=>{
  return instance({
    url:`/api/score/addScore`,
    method:'post',
    data
  })
}

/**
 * 查询评分信息
 * @param param
 * @returns {*}
 * @constructor
 */
export const  ShowScorePage=(param)=>{
  return instance({
    url:`/api/score/showScore`,
    method:'get',
    params:param
  })
}
export const showMoreInfo=(id)=>{
  return instance({
    url:`/api/score/showMore/${id}`,
    method:'get',
  })
}
